package cn.yl.wechat.server.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author hyl
 */
@FeignClient("edu-user-boot") // 参数 serviceId
public interface UserService {
    @GetMapping("/user/wxlogin")
    void getJwtByWechat(@RequestParam String access_token, @RequestParam String openid, @RequestParam String state);

}
